<?php /* Smarty version 2.6.26, created on 2010-05-03 15:19:33
         compiled from C:%5CWWW%5C%21VIRTUAL%21%5CHTTP%5Czend.local%5Cpublic%5Capplication%5Csystem/../../application/modules/user/views/scripts/login/infobox.tpl */ ?>
  

<?php if (isset ( $this->_tpl_vars['user']->id )): ?>
<div style="padding:20px;">
	<table width="70%">
	<tr>
    <td>
	<h2 style="margin-top:-5px;margin-bottom:3px;">
	<a title="<?php echo $this->callViewHelper('translate',array('user_logout')); ?>"  href = "<?php echo $this->_tpl_vars['baseUrl']; ?>
user/logout">
	<img src="<?php echo $this->_tpl_vars['imagesUrl']; ?>
icons/icon_logout.png">
	</a>
	<a style="text-decoration:none;" href="<?php echo '<?='; ?>
$this->url(array('id' => $this->user->id),'profile'); <?php echo '?>'; ?>
"><?php echo $this->_tpl_vars['user']->name; ?>
</a> 
	</h2>
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['user']->roleName; ?>

	</td>
    
    <td>
    <?php echo $this->callViewHelper('acl',array("Валюты",'store','valutes',array("","","","","","","","","","","","","","",""))); ?><br />
    <?php echo $this->callViewHelper('acl',array("\"Обновить",'store','price','parser',"",array("","","","","","","",""))); ?><br />
    <?php echo $this->callViewHelper('acl',array("\"Посмотреть",'store','price','view',"",array("","","","",""))); ?><br />
    <?php echo $this->callViewHelper('acl',array("\"Скачать",'store','price',"")); ?><br />
	</td>
    
    
    <td>
	<?php echo '<?if'; ?>
($this->acl('user', 'registration', 'index')==true):<?php echo '?>'; ?>

		<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
user/registration/index">Пользователи</a> 
	<?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
<br />
	<?php echo '<?if'; ?>
($this->acl('user', 'roles')==true):<?php echo '?>'; ?>

		<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
user/roles">Роли пользователей</a> 
	<?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
<br />
	<?php echo '<?if'; ?>
($this->acl('user', 'resources')==true):<?php echo '?>'; ?>

		<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
user/resources">Ресурсы приложения</a> 
	<?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
<br />
	</td>
    
    
    <td>
	<?php echo '<?if'; ?>
($this->acl('store', 'comments', 'approve')):<?php echo '?>'; ?>
 
		<a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/comments/approve">Комментарии</a> 
	<?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
<br />
    <?php echo '<?if'; ?>
($this->acl('store', 'manufacturers')):<?php echo '?>'; ?>
 
        <a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
store/manufacturers">Производители</a> 
    <?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
<br />
	</td>
    
    <td>
    <?php echo '<?if'; ?>
($this->acl('default', 'settings')):<?php echo '?>'; ?>
 
        <a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
default/settings">Настройки</a> 
    <?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
<br />
    <?php echo '<?if'; ?>
($this->acl('search', 'search', 'indexing')):<?php echo '?>'; ?>
 
        <a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
search/search/indexing">Индексация</a> 
    <?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
<br />
    <?php echo '<?if'; ?>
($this->acl('default', 'backup')):<?php echo '?>'; ?>
 
        <a href="<?php echo $this->_tpl_vars['baseUrl']; ?>
default/backup"><?php echo '<?='; ?>
$this->translate('store_parser_restore_title');<?php echo '?>'; ?>
</a> 
    <?php echo '<?endif'; ?>
;<?php echo '?>'; ?>
    
    </td>
    
    
    </tr></table>
</div>
<?php endif; ?>